package org.zoomdev.zoom.web.rendering.impl;

import org.zoomdev.zoom.web.action.ActionContext;
import org.zoomdev.zoom.web.rendering.Rendering;
import org.zoomdev.zoom.web.utils.ResponseUtils;


public final class StringRendering implements Rendering {
    @Override
    public boolean render(ActionContext context) throws Exception {
        ResponseUtils.writeString(context.getResponse(), String.valueOf(context.getResult()));
        return true;
    }
}
